import fly from '../assets/js/request'

export function getTheaters (params) { // 正在热映
  return fly.get('/in_theaters', params)
}

export function getComingSoon (params) { // 即将上映
  return fly.get('/coming_soon', params)
}

export function getMovieDetail (id) {
  return fly.get('/subject/' + id)
}
